﻿/*
=======================================================
    HoisterUsage【提升用途】
=======================================================
*/

namespace Services
{
    public interface IHoisterUsageLogic : ILogic<HoisterUsageModel, HoisterUsageFilterModel>
    {
        int UpdateIsDelete(bool flag, params int[] ids);
    }


    public class HoisterUsageLogic : BaseLogic<HoisterUsageModel, HoisterUsageFilterModel, HoisterUsage, IHoisterUsageRepository, IHoisterUsageMapping, IHoisterUsageService>, IHoisterUsageLogic
    {
        public HoisterUsageLogic(ICurrentUser currentUser, IHoisterUsageRepository repository, IHoisterUsageMapping mapping, IHoisterUsageService service)
            : base(currentUser, repository, mapping, service)
        {
        }

        #region 启用/禁用  UpdateIsDelete
        public int UpdateIsDelete(bool flag, params int[] ids)
        {
            return _repository.UpdateIsDelete(flag, ids);
        }
        #endregion
        
    }
}
